﻿using MediatR;
using SheepStorage.API.Baseclass;

namespace SheepStorage.API.Application.Command.UserInfoCommand
{
    public class UserInfoCreateCommand:IRequest<Results<int>>
    {
        public int UserId { get; set; }
        /// <summary>
        /// 员工编号
        /// </summary>
        public string? UserCode { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }
        public string? UserPassWord { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string? HeadImage { get; set; }
        //角色ID

        public int RoleId { get; set; }

        public string? UserTrueName { get; set; }
        public string? UserNikeName { get; set; }
        public int? UserSex { get; set; }
        public string? UserIdType { get; set; }
        public string? UserIdCard { get; set; }
        public string? UserPhone { get; set; }
        public string? UserEmail { get; set; }
        public string? PersonnelSchool { get; set; }
        public string? PersonnelHighLevel { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public int? BusinessId { get; set; }
        public int? StaffState { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public string? DepartmentId { get; set; }
        /// <summary>
        /// 入职日期
        /// </summary>
        public DateTime? DateOnBoard { get; set; }
        /// <summary>
        /// 转正日期
        /// </summary>
        public DateTime? PositiveDates { get; set; }
        /// <summary>
        /// 职位
        /// </summary>
        public string? Position { get; set; }
        /// <summary>
        /// 岗位
        /// </summary>
        public string? PostStation { get; set; }
        /// <summary>
        /// 人事级别
        /// </summary>
        public string? PersonnelLevel { get; set; }

        /// <summary>
        /// 启用状态---1 启用 0 禁用 
        /// </summary>
        public int? UserState { get; set; }


        //public string? AddName { get; set; }
        //public string? UpdateName { get; set; }
        //public string? DelName { get; set; }
        //public DateTime? AddTime { get; set; }
        //public DateTime? UpdateTime { get; set; }
        //public DateTime? DelTime { get; set; }
        //public string? Remarks { get; set; }
       // public int? IsDel { get; set; } = 0;
    }
}
